package com.easy.frame.servers.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.easy.frame.base.basic.pojo.BaseTreePO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * 类型分类表(5张表总表，根据type进行区分)
 *
 * @author tp
 * @since 2021-01-03
 */
@Getter
@Setter
@ToString
@TableName("sys_category_type")
@ApiModel("类型分类表(5张表总表，根据type进行区分)")
public class SysCategoryType extends BaseTreePO {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("分类类型 [设备设施分类，位置分类，空间资产分类，服务类型，物料分类]")
    private String categoryType;

    @ApiModelProperty("服务类型编号")
    private String code;

    @ApiModelProperty("完整编码")
    private String fullCode;

    @ApiModelProperty("外系统编号")
    private String outCode;

    @ApiModelProperty("业务类型")
    private String serverType;

    @ApiModelProperty("设备设施分类 [数据来源于数据字典]")
    private Integer equipmentType;

    @ApiModelProperty("服务类型名称")
    private String name;

    @ApiModelProperty("长编码")
    private String path;

    @ApiModelProperty("父级长编码")
    private String parentPath;

    @ApiModelProperty("服务范围描述")
    private String serviceRange;

    @ApiModelProperty("物料类型")
    private String materielType;

    @ApiModelProperty("层级")
    private Integer level;

    @ApiModelProperty("是否服务客户")
    private Integer isCustomerService;

    @ApiModelProperty("重要等级")
    private String importLevel;

    @ApiModelProperty("区域类型")
    private String areaType;

    @ApiModelProperty("标准分类")
    private String standardClass;

    @ApiModelProperty("企业是否启用（默认是1都启用）")
    private Integer tenantEnabled;

    @ApiModelProperty("标准工时")
    private BigDecimal standardWorkHours;

}
